<template>
	<view>
		<view class="crz-btn" @click="goTo(item)" v-for="(item,index) in btnlist" :key='index'>
			{{item.btnname}}
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				btnlist: [{
						btnname: '登记',
						url: '../ttkmnk/applyPage2'
					},
					{
						btnname: '派券',
						url: '../ttkmnk/applyPage'
					}
				]
			}
		},
		methods: {
			goTo(obj) {
				uni.navigateTo({
					url: obj.url
				})
			}
		}
	}
</script>

<style>
	.crz-btn {
		font-size: 32rpx;
		height: 88rpx;
		line-height: 88rpx;
		background-color: #0b9b89;
		color: #FFFFFF;
		border-radius: 44rpx;
		text-align: center;
		margin: 30rpx;
	}
</style>